local douzhen = fk.CreateSkill({
    name = "sj6__douzhen",
  })
  
  Fk:loadTranslationTable{
    ["sj6__douzhen"] = "斗阵",
    [":sj6__douzhen"] = "出牌阶段，你可以摸一张牌并与护甲数量与你相等的一名角色拼点，赢者获得1点护甲。",
    
    ["#sj6__douzhen"] = "斗阵：你可以摸一张牌并与护甲数量与你相等的一名角色拼点，赢者获得1点护甲",

    ["$sj6__douzhen1"] = "擂鼓击柝，庆我兄弟凯旋。",
  }

  douzhen:addEffect("active", {
    prompt = "#sj6__douzhen",
    can_use = function(self, player)
      return player.phase == Player.Play
    end,
    card_filter = Util.FalseFunc,
    target_filter = function (self, player, to_select, selected, selected_cards)
      return player:canPindian(to_select,true) and to_select.shield == player.shield and #selected == 0
    end,
    feasible = function (self, player, selected, selected_cards, card)
      return #selected == 1
    end,
    on_use = function(self, room, Effect)
      local player = Effect.from
      player:drawCards(1,douzhen.name)
      local target = Effect.tos[1]
      local pindian = player:pindian(Effect.tos,douzhen.name)
      if pindian.results[target].winner then
        room:changeShield(pindian.results[target].winner,1)
      end
    end,
  })

  return douzhen